https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
Disable Function : NONE
Directory :  /lib/python3/dist-packages/twisted/python/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/twisted/python/test/__pycache__/pullpipe.cpython-310.pyc
o

�b��@s�ddlZddlZddlZddlmZddlmZddlmZde	dee	e
ffdd�Zed	krKee	ej
d
��\ZZe�eded�e�e�dSdS)
�N)�unpack)�Tuple)�recvmsg�socketfd�returnc	Cs@t�|tjtj�}t|�\}}}|\\}}}td|�\}||fS)az
    Receive a file descriptor from a L{sendmsg} message on the given C{AF_UNIX}
    socket.

    @param socketfd: An C{AF_UNIX} socket, attached to another process waiting
        to send sockets via the ancillary data mechanism in L{send1msg}.

    @param fd: C{int}

    @return: a 2-tuple of (new file descriptor, description).
    @rtype: 2-tuple of (C{int}, C{bytes})
    �i)�socket�fromfd�AF_UNIX�SOCK_STREAMrr)	r�	ourSocket�data�	ancillary�flags�	cmsgLevel�cmsgType�packedFD�
unpackedFD�r�>/usr/lib/python3/dist-packages/twisted/python/test/pullpipe.py�recvfds

r�__main__�sTest fixture data: s.
)�osr�sys�structr�typingr�twisted.python.sendmsgr�int�bytesr�__name__�argv�fd�description�write�closerrrr�<module>s�

https://t.me/RX1948 - 2025